<!--
*Author：富行天下团队
 *
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/mall/Information.js此处编写
 -->
<template>
    <div>
        <view-grid
                   ref="grid"
                   :columns="columns"
                   :detail="detail"
                   :editFormFields="editFormFields"
                   :editFormFileds="editFormFields"
                   :editFormOptions="editFormOptions"
                   :searchFormFields="searchFormFields"
                   :searchFormFileds="searchFormFields"
                   :searchFormOptions="searchFormOptions"
                   :table="table"
                   :extend="extend">
        </view-grid>
    </div>
</template>

<script>
    import extend from "@/extension/mall/Information.js";
    import ViewGrid from "@/components/basic/ViewGrid.vue";
    var vueParam = {
        components: {
            ViewGrid
        },
        data() {
            return {
                table: {
                    key: 'id',
                    footer: "Foots",
                    cnName: '会员激活',
                    name: 'Information',
                    url: "/Information/",
                    sortName: "createDate"
                },
                extend: extend,
                editFormFields: {},
                editFormOptions: [],
                searchFormFields: {"cardno":"","create_time":"","ident":"","name":"","phone":"","sex":"","status":""},
                searchFormOptions: [[{"title":"姓名","field":"name","type":"like"},{"title":"电话","field":"phone","type":"like"},{"title":"性别","field":"sex","type":"like"}],[{"title":"证件","field":"ident","type":"like"},{"title":"会员卡号","field":"cardno","type":"like"},{"title":" 状态","field":"status","type":"like"}],[{"title":"","field":"create_time","type":"datetime"}]],
                columns: [{field:'cardno',title:'会员卡号',type:'string',width:220,align:'left',sortable:true},
                       {field:'cardType',title:'1保障人员优享卡    2 四季优享卡',type:'int',width:90,align:'left'},
                       {field:'create_time',title:'create_time',type:'datetime',width:90,align:'left',sortable:true},
                       {field:'id',title:'id',type:'int',width:90,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'ident',title:'证件',type:'string',width:220,align:'left'},
                       {field:'image',title:'证书图片',type:'string',width:220,align:'left'},
                       {field:'name',title:'姓名',type:'string',width:220,align:'left'},
                       {field:'phone',title:'电话',type:'string',width:220,align:'left'},
                       {field:'sex',title:'性别',type:'int',width:90,align:'left'},
                       {field:'status',title:' 状态',type:'int',width:90,align:'left'},
                       {field:'update_time',title:'update_time',type:'datetime',width:90,align:'left',sortable:true},
                       {field:'auditDate',title:'审核日期',type:'datetime',width:120,align:'left',sortable:true},
                       {field:'auditId',title:'审核员',type:'int',width:120,align:'left'},
                       {field:'auditor',title:'审核员',type:'string',width:120,align:'left'},
                       {field:'auditreason',title:'审核原因',type:'string',width:120,align:'left'},
                       {field:'auditStatus',title:'审核状态',type:'int',width:120,require:true,align:'left'}],
                detail: {
                    cnName:"#detailCnName",
                    columns: [],
                    sortName: "",
                    key:""
                }
            };
        }
    };
    export default vueParam;
</script>
